package com.caigou.mapper.exam;

import com.caigou.bean.exam.entity.WxUser;

public interface WxUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WxUser record);

    int insertSelective(WxUser record);

    WxUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(WxUser record);

    int updateByPrimaryKey(WxUser record);

    WxUser findWxUserByOpenId(String openId);

    WxUser findWxUserByUserId(String userId);

    int updateWxUserInfoByUnionid(WxUser wxUser);

    WxUser findWxUserByUnionId(String unionid);
}
